// 定义配置接口
export interface GridSlicerConfig {
  output_dir: string
  input_files: {
    dem_tif: string
    dsm_geo: string
  }
  bbox: {
    minx: number
    miny: number
    maxx: number
    maxy: number
    epsg: number
  }
  download_output: {
    range_type: number // 0: none 1: dsm_geo, 2: bbox
    target_epsg: number
  }
  grid: {
    size: number
    pixel_size: number
  }
  height: {
    minheight: number
    maxheight: number
    step: number
    increment: number
  }
  slice_output: {
    bbox_type: number // 0: dsm_geo 1: tif, 2: union
    target_epsg: number
  }
  altitude: {
    layerField: string
    height: number
    base_height: number
    elev_mode: string // 高程获取模式，'max'表示包围盒最高点，'center'表示中心点，'min'表示包围盒最低点
  }
  logger: {
    log_level: string
  }
}
